home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / tex / crlf.zip / CRLF.DOC < prev    next >
Text File  |  1988-05-12  |  1KB  |  36 lines

  1.  
  2.  
  3. NAME
  4. crlf - Convert text files between <CR><LF> format and <LF> format.
  5.  
  6. SYNOPSIS
  7. crlf [-r -]
  8.  
  9. DESCRIPTION
  10.    Crlf converts text  file formats.  MS-DOS uses a format that marks the end
  11. of a  line  with  two  characters, <CR><LF>.  Unix  uses  a format  with only
  12. <LF>.  Sometimes  this  difference can cause normally  well-behaved  programs
  13. to  fail.  Use crlf to convert between these two formats.
  14.  
  15.    Options:
  16.     -r    Reverse  the type  of  conversion.  Default  is to convert to
  17.         <CR><LF>  format.  The -r  option causes the conversion to be
  18.         to <LF> format.
  19.     -    The next argument is a  file name.  Useful when the file name
  20.         begins with a dash.
  21.  
  22. EXAMPLES
  23. crlf unixfile >dosfile
  24. crlf -r dosfile >unixfile
  25. crlf <unixfile
  26.  
  27. RETURN VALUE
  28.     0: normal return
  29.     1: unknown option
  30.     2: bad number of arguments
  31.     3: file opening error
  32.  
  33. NOTES
  34.    This program  was written by Steve Creps. All rights are reserved, but the
  35. source and executable may be freely copied for personal use.
  36.